package com.dlc.felear.xiaoensale.entity;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "t_flavourspeed")
public class FlavourSpeed {
    @DatabaseField(id = true)
    private String id;
    @DatabaseField
    private String name;
    @DatabaseField
    private int type;
    /**
     * 下料速度
     */
    @DatabaseField
    private float speed;
    /**
     * 基数
     */
    @DatabaseField
    private float baseData;
    /**
     * 每公斤需要的量
     */
    @DatabaseField
    private float stdData;
    @DatabaseField
    private int doNum;

    public FlavourSpeed() {
    }

    public float getBaseData() {
        return baseData;
    }

    public void setBaseData(float baseData) {
        this.baseData = baseData;
    }

    public float getStdData() {
        return stdData;
    }

    public void setStdData(float stdData) {
        this.stdData = stdData;
    }

    public FlavourSpeed(String id, String name, int type, float speed, int doNum) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.speed = speed;
        this.doNum = doNum;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public float getSpeed() {
        return speed;
    }

    public void setSpeed(float speed) {
        this.speed = speed;
    }

    public int getDoNum() {
        return doNum;
    }

    public void setDoNum(int doNum) {
        this.doNum = doNum;
    }
}
